# coding=utf-8

# split 根据匹配进行切割字符串，并返回一个列表

import re

# 切割字符串“info:xiaoZhang 33 shandong”
str = r'info:xiaoZhang 33 shandong'

reg = ':| '
sub = re.split(reg, str)
print(sub)
